import React from 'react'
import { View, Text } from 'react-native'
import { Button } from 'react-native-elements'

const login = ({ navigation }) => {
    navigation.setOptions({
        headerTitle: "登录"
    })
    return (
        <View>
            <Text></Text>
            <Button title="登录" onPress={_ => {
                navigation.navigate("root")
            }}></Button>
        </View>
    )
}

export default login
